File: /var/www/kevin-demo/wp-content/themes/fitmencook/assets/css/single-product.css
html {
font-size: 62.5%;
}
.custom-product-gallery {
display: flex;
align-items: start;
gap: 3.2rem;
}
.thumbnail-gallery-wrapper {
display: flex;
flex-direction: column;
order: -1;
width: 8%;
align-items: center;
position: relative;
}
.thumbnail-gallery {
display: flex;
flex-direction: column;
gap: 1.6rem;
align-items: center;
max-height: 58rem;
overflow: hidden;
}
.thumb-nav {
background: #fff;
border: 1px solid rgba(52, 64, 84, 0.2);
border-radius: 50%;
width: 3rem;
height: 3rem;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
color: #344054;
flex-shrink: 0;
}
.thumb-nav:hover {
background: #344054;
color: #fff;
}
.thumb-nav:hover svg path {
stroke: #fff;
}
.thumb-nav-prev {
margin-bottom: 1rem;
}
.thumb-nav-next {
margin-top: 1rem;
}
.special-text {
font-family: "Sunfish Original", Arial, sans-serif;
color: #ff885c;
font-size: 3.6rem;
margin: 0;
}
.main-image {
width: 50%;
}
.main-image img {
width: 100%;
border-radius: 11px;
height: 64rem;
}
.thumbnail-image {
width: 8rem;
height: 8rem;
border-radius: 11px;
cursor: pointer;
}
.fmc_rating_stars {
display: flex;
align-items: center;
gap: 1rem;
}
.product-info-m {
width: 40%;
}
.product-title {
font-size: 4rem;
line-height: 1.3;
}
.product-description {
margin: 2rem 0;
}
.yoast_breadcrumb {
margin-top: 3rem;
}
/* SPECIAL OFFER */
.special-offer {
text-align: center;
background-color: #ffe3d4;
padding: 1rem;
position: relative;
}
.special-offer-svg {
position: absolute;
left: 2rem;
top: 0;
}
.offer-title,
.offer-details {
margin: 0;
}
.star-rating {
margin-top: 0;
}
.offer-title {
font-size: 1.2rem;
color: #f66545;
font-weight: 700;
padding-bottom: 0.5rem;
}
.offer-details {
font-size: 1.5rem;
line-height: 2rem;
color: #7e2210;
font-weight: 700;
}
.total-price {
font-size: 2rem;
}
.fmc_content_container p {
font-weight: 800;
font-size: 2rem;
}
.ingredient-special-img {
width: 5rem;
}
.product_out_of_stock {
display: none;
}
/* PRICING */
.no-discount-price-wrapper {
display: flex;
justify-content: space-between;
margin: 1.5rem 0;
}
.product-price-wrapper {
display: flex;
justify-content: space-between;
}
.quantity-wrapper {
display: flex;
align-items: center;
gap: 0.5rem;
}
.quantity-wrapper button {
background-color: #fff;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 3rem;
width: 4rem;
height: 4rem;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
}
.quantity-wrapper button:hover {
background-color: #e6e6e6;
border-color: #aaa;
}
.quantity-wrapper .input-number {
border: none;
font-size: 2.5rem;
width: 8rem;
background-color: transparent;
display: inline-block;
padding-left: 1.8rem;
outline: none;
text-align: center;
}
.woocommerce-Price-amount {
color: #d0d5dd;
}
.woocommerce-Price-amount bdi,
.woocommerce-Price-amount bdi span {
color: inherit;
}
.discounted-price {
font-size: 3.2rem;
line-height: 1;
color: #344054;
font-weight: 800;
}
#total-price {
text-decoration: line-through;
color: #d0d5dd;
font-size: 2rem;
font-weight: 700;
}
.out-of-stock,
.in-stock {
font-size: 1.3rem;
color: #98a2b3;
font-weight: 700;
}
.add-to-cart-btn-m {
display: block;
width: 100%;
background-color: #ff885c;
padding: 1.6rem;
border: none;
border-radius: 8px;
color: #151921;
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
cursor: pointer;
font-size: 1.5rem;
font-weight: 700;
transition: all 0.3s;
}
.add-to-cart-btn-m:hover {
background-color: #e67a53;
}
.cart-m {
margin: 4rem 0;
}
.product-image-wrapper-m {
position: relative;
width: 50%;
text-align: center;
}
.product-image-wrapper-m .decoration-normal-image {
top: 30rem;
}
.product-section-m {
display: flex;
justify-content: center;
background-color: #fff3ed;
padding: 4rem 0;
gap: 4rem;
flex-direction: column;
}
.product-info-wrapper {
display: flex;
flex-direction: column;
gap: 0;
width: 50%;
}
.ingredients-section .product-title-wrapper,
.product-info-section .product-title-wrapper {
border-bottom: 2px solid rgba(52, 64, 84, 0.1);
}
.ingredients-section.open .product-title-wrapper,
.product-info-section.open .product-title-wrapper {
border-bottom: none;
}
.big-image-m {
border-radius: 11px;
height: 50rem;
width: 60rem;
}
.product-icon {
width: 2.4rem;
height: 2.4rem;
}
.product-title-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
/* border-bottom: 2px solid rgba(52, 64, 84, 0.11); */
padding-bottom: 2rem;
}
.product-title-wrapper {
color: #344054;
font-size: 3.2rem;
font-weight: 800;
}
.product-info-wrapper p {
font-size: 1.8rem;
line-height: 2.45rem;
color: #344054;
}
.hidden-box {
opacity: 0;
transition: all 0.4s;
max-height: 0px;
margin-top: 0;
}
.ul-product {
padding-left: 2rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
list-style: disc;
}
.open .hidden-box {
opacity: 1;
max-height: 40rem;
}
.related-recipe-m {
margin-top: 3rem;
}
.related-recipe-title-m {
text-decoration: none;
padding: 2rem;
font-size: 1.8rem;
font-weight: 700;
line-height: 2.4rem;
color: #344054;
}
.related-recipe-img-m img {
width: 100%;
max-width: 40rem;
}
.related-recipe-m {
border-radius: 9px;
overflow: hidden;
background-color: #fff;
max-width: 40rem;
}
.how-to-use-text {
margin-top: 3rem !important;
}
.bg-link-m {
background-color: #fff;
align-self: center;
}
.bg-link-m span {
color: grey;
}
.bg-link-m:hover {
background-color: var(--color-2);
border-color: var(--color-2);
color: white;
}
.scrolling-banner.scrolling-banner-m {
margin: 0;
}
.flex-list.flex-list-m {
margin-bottom: 12rem;
}
.big-wrapper-m {
padding: 12rem;
}
.big-wrapper-m {
position: relative;
}
.related.products {
position: relative;
}
.related .fmc_title_2 {
font-size: 4.8rem;
}
.absolute-image-2 {
position: absolute;
top: 5%;
right: -8%;
z-index: -1;
}
.product-title-wrapper.no-cursor {
cursor: auto;
}
.related .fmc_btn {
color: rgba(21, 25, 33, 1);
}
.related .fmc_btn:hover {
color: #fff;
}
.related .products {
justify-content: space-between;
}
.welness-product-section-m {
margin-top: 12rem;
}
.fmc_m_spacing {
margin-top: 12rem;
}
@media screen and (max-width: 48em) {
.welness-product-section-m {
margin-top: 8rem;
}
.fmc_m_spacing {
margin-top: 8rem;
}
}
.see-all-products-div {
display: flex;
justify-content: center;
align-items: center;
}
.product-info-heading {
font-family: "Nunito";
font-weight: 800;
}
.big-wrapper-m::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
background: url("/wp-content/uploads/2025/06/1a392bf7ae4a670c19a02436dd1b819fb427d224.png")
no-repeat center bottom;
opacity: 0.05;
height: 100%;
z-index: 0;
background-size: contain;
}
.big-wrapper-m > .fmc_container {
position: relative;
z-index: 1;
}
.ingredient-benefit-title {
font-weight: 700;
font-size: 4.8rem;
line-height: 5.6rem;
color: #344054;
margin-bottom: 4rem;
margin-top: 1rem;
margin-left: auto;
margin-right: auto;
width: 35%;
}
.ingredients-benefits {
border: 2px solid #344054;
border-radius: 2.4rem;
overflow: hidden;
position: relative;
width: 80%;
margin: 0 auto;
}
.ingredients-benefits::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: 100%;
width: 2px;
background-color: #344054;
}
.ingredient-bennefits-title-wrapper {
text-align: center;
}
.ingredient-benefit-item {
display: flex;
justify-content: space-around;
align-items: center;
padding: 2.5rem;
}
.ingredient-benefit-item:nth-child(even) {
background-color: #f2f4f7;
}
.ingredient-benefit-item-special {
display: flex;
justify-content: space-around;
padding: 4rem 2rem;
border-bottom: 2px solid #344054;
}
.ingredient-benefit-item-special p {
margin: 0;
color: #344054;
font-weight: 800;
font-size: 3.2rem;
line-height: 4.35rem;
display: flex;
align-items: end;
gap: 2rem;
}
.product_info_section {
display: flex;
gap: 6rem;
padding-top: 4rem;
}
.how-to-use-section {
display: flex;
flex-direction: column;
}
.recipes-m {
display: flex;
}
.recipes-m .fmc_recipe .fmc_grid_figure {
padding-bottom: 2.4rem;
margin: 0;
background-color: #fff;
border-radius: 16px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.recipes-m .fmc_recipe .fmc_recipe_content {
background-color: #fff;
border-bottom-left-radius: 16px;
border-bottom-right-radius: 16px;
}
.recipes-m .fmc_recipe .fmc_recipe_content .fmc_recipe_grid_macros {
display: none;
}
.fmc-dropdown {
box-sizing: border-box;
width: 100%;
padding: 1.5rem 2rem;
margin-top: 1rem;
margin-bottom: 2rem;
border-radius: 7px;
background-color: #f2f2f2;
border: 1px solid grey;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background: url(https://springgreen-tiger-714944.hostingersite.com/wp-content/uploads/2025/04/down-arrow-svgrepo-com.svg)
no-repeat;
background-position: right 2rem center;
background-size: 1.2rem;
cursor: pointer;
background-color: rgba(249, 250, 251, 1);
}
.fmc-dropdown:focus {
outline: none;
}
.discounted-price {
font-size: 3rem;
font-weight: 600;
}
.fmc_product_selector {
font-size: 1.4rem;
font-weight: 700;
color: rgba(152, 162, 179, 1);
margin-bottom: 0.5rem;
}
.fmc-product-picker {
display: flex;
flex-direction: column;
}
#fmc-picker-trigger {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1.2rem 1.6rem;
background-color: rgba(249, 250, 251, 1);
border-radius: 8px;
border: 1px solid #ccc;
margin-bottom: 2rem;
cursor: pointer;
}
.product-info-wrapper a {
color: orange;
text-decoration: underline;
}
.related.products .woocommerce-Price-amount {
color: black;
}
@media screen and (max-width: 64em) {
.offer-title {
padding-top: 4rem;
}
}
@media screen and (max-width: 56.25em) {
.custom-product-gallery {
flex-direction: column;
align-items: center;
}
.main-image img {
height: 100%;
}
.thumbnail-gallery-wrapper {
width: 100%;
flex-direction: row;
order: 1;
margin-top: 1.5rem;
}
.thumbnail-gallery {
display: flex;
flex-direction: row;
order: 1;
width: 100%;
justify-content: center;
flex-wrap: wrap;
gap: 1rem;
max-height: none;
overflow: visible;
}
.thumb-nav {
display: none;
}
.thumbnail-image {
width: 6rem;
height: 6rem;
}
.product-info-m {
width: 100%;
padding: 1rem;
order: 2;
}
.main-image {
width: 100%;
}
.product_info_section {
flex-direction: column;
padding: 2rem;
}
.product-info-wrapper {
width: 100%;
}
.product-image-wrapper-m {
width: 100%;
}
.decoration-normal-image {
display: none;
}
.big-image-m {
height: auto;
width: 100%;
}
.recipes-m {
flex-wrap: wrap;
}
.open .hidden-box {
max-height: 100%;
}
.ingredient-benefit-item-special p {
justify-content: center;
}
}
/* SELECT OPTION */
/* Sakrij dropdown po defaultu */
.fmc-picker-dropdown {
display: none;
position: absolute; /* ili kako već želiš da se ispod gumba pojavi */
z-index: 10;
top: 45%;
background: #fff;
border: 2px solid rgba(249, 250, 251, 1);
max-height: 300px;
overflow-y: auto;
padding-left: 0.4rem;
min-width: 100%;
}
/* Kad dropdown ima klasu .open, prikaži ga */
.fmc-picker-dropdown.open {
display: block;
}
/* Stil za pojedinačne stavke u dropdownu */
.fmc-picker-item {
list-style: none;
padding: 0.5rem 1rem;
}
.fmc-picker-item a {
display: flex;
align-items: center;
text-decoration: none;
color: #333;
}
/* Bullet (boja ovisi o ACF polju bullet_color) */
.fmc-picker-swatch {
display: inline-block;
width: 1rem;
height: 1rem;
border-radius: 50%;
margin-right: 1rem;
}
/* Trenutačna stavka može biti drugačije obojena ili s jačim fontom */
.fmc-picker-item--current a {
font-weight: 600;
}
.svg-arrow-down {
height: 0.75rem;
width: 1.5rem;
color: rgba(152, 162, 179, 1);
}
@media screen and (max-width: 69em) {
.ingredient-benefit-item-special p {
justify-content: center;
}
.ingredient-benefit-item-special p:last-child {
margin-left: -20px;
padding-left: 0 !important;
}
.ingredient-benefit-title {
line-height: 4rem;
width: 80%;
font-size: 3.2rem;
}
}
@media screen and (max-width: 37.5em) {
.ingredient-benefit-title {
width: 100%;
}
.ingredients-benefits {
width: 100%;
padding: 1rem;
}
.benefit {
width: 100% !important;
margin-top: 0.5rem;
font-size: 1.2rem !important;
padding-left: 0 !important;
}
.ingredient-benefit-item-special {
margin-top: 0 !important;
}
}
@media (min-width: 797.6px) {
.single-product .related .products .fmc_product:not(:nth-child(3)) {
margin-right: 0;
}
.home .fmc_product:not(:nth-child(4n + 4)),
.archive .fmc_product:not(:nth-child(4n + 4)),
.single-product .related .fmc_product:not(:nth-child(4n + 4)),
.page-template-homepage-2 .fmc_product:not(:nth-child(4n + 4)) {
margin-right: 0;
}
}